package com.healthcloud.dao;

import com.healthcloud.entity.TokenEntity;

/**
 * 用户token
 * Created by yu on 2017/6/6.
 */
public interface TokenDao extends BaseDao<TokenEntity> {

    TokenEntity queryByUserId(Long userId);

    TokenEntity queryByToken(String token);

}
